// arg0 - desired tool
var __tool;
__tool = argument;

ToolManager.currentTool = __tool;
